package com.zucc.controller.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-11 9:00 下午
 */
@Data
@ApiModel("修改资源参数")
public class ResourceModifyReq {
    @ApiModelProperty(value = "资源编号", required = true)
    @NotNull(message = "资源编号不能为空")
    private Long id;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "分类编号")
    private Long categoryId;

    @ApiModelProperty(value = "资源名称")
    private String name;

    @ApiModelProperty(value = "审批状态，0:审批中，1:通过，2：驳回")
    private Integer approvalStatus;

}
